using System;

namespace Behaviours.Events.EventBus
{
    /// <summary>
    /// The attribute class of the event handler.
    /// If a method have this attribue contract and exactly one parameter, then it's event handler.
    /// </summary>
    public class EventBusSubscriberAttribute : Attribute
    {
        public int EventType { get; }
        public EventBusSubscriberAttribute(int eventId)
        {
            EventType = eventId;
        }
    }
}
